<?php
class menu_delete extends SClass {

    public function process() {
    try {

                ServiceUtils::GetFactory()->getHmenuService()->deleteHmenu(
                        $this->getArgument('id')
                );
                $this->assign('message', 'ok');


            } catch (Exception $e) {
                $this->assign('message', 'error');
            }
    }

}